<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreatePostersTable extends Migration
{
    public function up()
    {
        Schema::create('posters', function (Blueprint $table) {
	        $table->id();
	        $table->string('type')->nullable();
	        $table->string('poster')->nullable();
	        $table->string('brief')->nullable();
	        $table->boolean('is_disabled')->default(false);
	        $table->timestamps();
        });
    }
    
    public function down()
    {
        Schema::dropIfExists('posters');
    }
}
